package com.HomeWorkhsp.Chapter08.poly_.detail_;

/**
 * Enjoy programming!!!
 * Time: 2021/11/26 -  14:49
 */
public class Cat extends Animal{

        public void eat(){//方法重写
            System.out.println("猫吃鱼");
        }
        public void catchMouse(){//Cat特有方法
            System.out.println("猫抓老鼠");
        }
}
